import React from 'react';
import './index.css'

const index = (props) => {

    const { title, openInput } = props

    return (
        <div className='header'>
            <span>{title}</span>
            <span onClick={openInput}>&#43;</span>
        </div>
    );
};

export default index;